home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / vedt.zip / DEMO10.VDM < prev    next >
Text File  |  1990-01-31  |  3KB  |  87 lines

  1. RI(9)/VEDIT Family - Printing/
  2. M(H)            !Display header
  3.  
  4. Q23YEA            !Use highlight attribute
  5. YEN YT/                  --- WARNING !!! ---/ YEN
  6. Q27YEA            !Restore attribute
  7.  
  8. YT/
  9. Do not run this part of the demo if you do not have a printer connected!!
  10.  
  11. (Attempting to do so may "hang" the computer and force you to "Reboot".)
  12.  
  13. You can print the entire file being edited or just a portion of it.  Printing
  14. is normally 60 lines per page with a 10 column (1 inch) left margin and
  15. without a header or page numbers.
  16.  
  17. VEDIT and VEDIT PLUS are supplied with the print "macro" PRINT.VDM which can
  18. be used to print an entire file with a header on each page.  The header
  19. consists of the file name, the date and the page number.
  20.  
  21.     --- Press <ESC> if you do not have a printer connected ---
  22.  
  23.     --- OR  Press <Enter> to continue ---
  24. /
  25.  
  26. XK(0)//
  27. (Q0 = 27) [ RJ(Z) ]    !Back to main menu if <ESC> was pressed
  28.  
  29. YWB(1) 9
  30. Q26YEA            !Set editing attribute
  31. YWS(1) Q27YEA        !Set attribute in lower window "1"
  32. EZY            !Empty edit buffer
  33. EB demo.txt        !Load demo text
  34.  
  35. EE(1)
  36. B#K
  37. I/To print press <ALT-P> for the "Print" sub-menu.  To print the entire file
  38. press "A" to select "All".
  39.  
  40. You can stop the printing before it is done by pressing <CTRL-C>.
  41.  
  42. When necessary, you can advance the printer to the top of the next page by
  43. pressing <ALT-P> and then "E" to select "Eject".  This is also a convenient
  44. way of sending a blank page through the printer.
  45.         --- Press <ESC> to continue ---/
  46.  
  47. B -V            !Display instructions
  48. EE(@)            !Back to main text
  49. V
  50.  
  51. EE(1)
  52. B#K
  53. I/To print a portion of the file, move the cursor to the FIRST character to be
  54. printed.  Then press <F9> to set the 1st marker and begin highlighting.
  55. Next, move the cursor one position PAST the LAST character to be printed.
  56. (Generally, this will be the beginning of the next line.)  Press <ALT-P> and
  57. "B" again (or press the "hot key" <CTRL-P> which directly accesses the {PRINT,
  58. Block} function).  The text will start printing.
  59.  
  60. You may want to press <ALT-P> and "E" to advance the printer to the top of
  61. the next page.        --- Press <ESC> to continue ---/
  62.  
  63. B -V
  64. EE(@)
  65. V
  66.  
  67. +RL(p) print.vdm        !Load the print macro
  68.  
  69. EE(1)
  70. B#K
  71. I/This demo has loaded the print "macro" PRINT.VDM for you.  The following
  72. steps let you print the entire file using this macro.
  73.  
  74. Press <ALT-M> for the "Misc" sub-menu.  Select "Execute Macro".  At the
  75. prompt press "P".  The file should begin printing.
  76.  
  77. Notice how the printed pages now have the file name, date and page number at
  78. the top.
  79.         --- Press <ESC> to return to the Main Menu ---/
  80.  
  81. B -V
  82. EE(@)
  83. V
  84.  
  85. EZY
  86. RE(P)
  87.